import {Component, OnInit} from '@angular/core';

@Component({
    selector: 'school-organization-detail',
    templateUrl: './school-organization-detail.component.html',
})

export class SchoolOrganizationDetailComponent implements OnInit {

    array = [ 1 ];

    activity = [
        {id: 1, name: '2017年北京大学基础医学院元旦晚会', num: 50000, people: 'Jesper', },
        {id: 2, name: '2017年北京大学基础医学院春节晚会', num: 50000, people: 'Jesper', },
        {id: 3, name: '2017年北京大学基础医学院元宵晚会', num: 20000, people: 'Jesper', },
        {id: 4, name: '2017年北京大学春节活动会', num: 50000, people: 'Jesper', },
        {id: 5, name: '2017年北京大学联谊晚会', num: 100000, people: 'Jesper', },
    ];

    enterprise = [
        {id: 1, src: '', name: '第一张图片'},
        {id: 2, src: '', name: '第二张图片'},
        {id: 3, src: '', name: '第三张图片'},
    ];
    ngOnInit() {
        setTimeout(_ => {
            this.array = [ 1, 2, 3, 4 ];
        }, 500);
    }
}
